From b7cce2d0a7eaa3092c96bd211c743af6891e3feb Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Wed, 17 Aug 2016 11:17:16 -0400 Subject: [PATCH] Add note about setting delay to zero --- README.org | 3 ++- which-key.el | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index fc5ad99e99b..31a3186bd27 100644 --- a/README.org +++ b/README.org @@ -386,7 +386,8 @@ The options below are also available through customize. Their defaults are shown. #+BEGIN_SRC emacs-lisp - ;; Set the time delay (in seconds) for the which-key popup to appear. + ;; Set the time delay (in seconds) for the which-key popup to appear. A value of + ;; zero might cause issues so a non-zero value is recommended. (setq which-key-idle-delay 1.0) ;; Set the maximum length (in characters) for key descriptions (commands or diff --git a/which-key.el b/which-key.el index ccac5ce50f8..114b04dae3a 100644 --- a/which-key.el +++ b/which-key.el @@ -54,7 +54,9 @@ :prefix "which-key-") (defcustom which-key-idle-delay 1.0 - "Delay (in seconds) for which-key buffer to popup." + "Delay (in seconds) for which-key buffer to popup. A value of zero +might lead to issues, so a non-zero value is recommended +(see https://github.com/justbur/emacs-which-key/issues/134)." :group 'which-key :type 'float) -- 2.30.2